#!/bin/bash

if [ $# -ne 1 ]; then
	echo Usage: $0 \<version\>
	exit 1
fi

tar czvf libglfx_$1.orig.tar.gz \
--exclude=debian \
--exclude=.bzr \
--exclude=.svn \
--exclude=debian \
--exclude=.pc \
--exclude=.libs \
--exclude=.deps \
--exclude=*.o \
--exclude=*.la \
--exclude=config.status \
--exclude=config.log \
--exclude=*.o.d \
--exclude=lib*.so \
--exclude=nbproject \
glfx

exit 0
